package com.example.cinema.entity;

import lombok.Data;

/**
 * Company 源辰信息
 *
 * @author navy
 * @date 2024/8/12
 * Email haijunzhou@hnit.edu.cn
 */
@Data
public class BizExeption extends Exception{

    Object data;

    public BizExeption(String message, Object data) {
        super(message);
        this.data = data;
    }

    public BizExeption(String message, Throwable cause, Object data) {
        super(message, cause);
        this.data = data;
    }
}
